package com.esteel.settlement.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.esteel.settlement.dao.SettFreezeRepository;
import com.esteel.settlement.entity.TbSettFreeze;
import com.esteel.settlement.service.SettFreezeService;

@Service
public class SettFreezeServiceImpl implements SettFreezeService {

	@Autowired
	private SettFreezeRepository settFreezeRepository;
	
	@Override
	public TbSettFreeze save(TbSettFreeze tbSettFreeze) {
		return settFreezeRepository.save(tbSettFreeze);
	}

	@Override
	public TbSettFreeze findOne(long id) {
		return settFreezeRepository.findOne(id);
	}
	
	

}
